package com.ruoyi.business.api;

import com.ruoyi.business.api.domain.ShopVerification;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.common.core.web.page.TableDataInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;

/**
 * 店铺认证Feign
 * 
 * @author zsq
 * @date 2024-09-12
 */
@FeignClient(value="ruoyi-business")
public interface ShopVerificationService
{

    /**
     * 查询店铺认证列表
     */
    @GetMapping("/shopVerification/list")
    public TableDataInfo list(ShopVerification shopVerification);



    /**
     * 获取店铺认证详细信息
     */

    @GetMapping(value = "/shopVerification/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id);

    /**
     * 新增店铺认证
     */
    @PostMapping("/shopVerification")
    public AjaxResult add(@RequestBody ShopVerification shopVerification);

    /**
     * 修改店铺认证
     */
    @PutMapping("/shopVerification")
    public AjaxResult edit(@RequestBody ShopVerification shopVerification);

    /**
     * 删除店铺认证
     */
    @DeleteMapping("/shopVerification/{ids}")
    public AjaxResult remove(@PathVariable("ids") Long[] ids);
}